<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI tabs documentation</title>

<style>
body {
	font-family: "Trebuchet MS", "Arial", "Helvetica", "Verdana",
		"sans-serif"
}

.gutter {
	display: none;
}
</style>
</head>
<body>

	<script>{
		"title":
			"Tabs Widget",
		"excerpt":
			"A single content area with multiple panels, each associated with a header in a list.",
		"termSlugs": {
			"category": [
				"widgets"
			]
		}
	}</script>
	<article id="tabs1" class="entry widget">
		<h2 class="section-title">
			<span>Tabs Widget</span><span class="version-details">version
				added: 1.0</span>
		</h2>
		<div class="entry-wrapper">
			<p class="desc">
				<strong>Description: </strong>A single content area with multiple
				panels, each associated with a header in a list.
			</p>
			<section id="quick-nav">
				<header>
					<h2>
						QuickNav<a href="#entry-examples">Examples</a>
					</h2>
				</header>
				<div class="quick-nav-section">
					<h3>Options</h3>
					<div>
						<a href="#option-active">active</a>
					</div>
					<div>
						<a href="#option-collapsible">collapsible</a>
					</div>
					<div>
						<a href="#option-disabled">disabled</a>
					</div>
					<div>
						<a href="#option-event">event</a>
					</div>
					<div>
						<a href="#option-heightStyle">heightStyle</a>
					</div>
					<div>
						<a href="#option-hide">hide</a>
					</div>
					<div>
						<a href="#option-show">show</a>
					</div>
				</div>
				<div class="quick-nav-section">
					<h3>Methods</h3>
					<div>
						<a href="#method-destroy">destroy</a>
					</div>
					<div>
						<a href="#method-disable">disable</a>
					</div>
					<div>
						<a href="#method-enable">enable</a>
					</div>
					<div>
						<a href="#method-load">load</a>
					</div>
					<div>
						<a href="#method-option">option</a>
					</div>
					<div>
						<a href="#method-refresh">refresh</a>
					</div>
					<div>
						<a href="#method-widget">widget</a>
					</div>
				</div>
				<div class="quick-nav-section">
					<h3>Events</h3>
					<div>
						<a href="#event-activate">activate</a>
					</div>
					<div>
						<a href="#event-beforeActivate">beforeActivate</a>
					</div>
					<div>
						<a href="#event-beforeLoad">beforeLoad</a>
					</div>
					<div>
						<a href="#event-create">create</a>
					</div>
					<div>
						<a href="#event-load">load</a>
					</div>
				</div>
			</section>
			<div class="longdesc" id="entry-longdesc">
				<p>Tabs are generally used to break content into multiple
					sections that can be swapped to save space, much like an accordion.</p>

				<p>
					The content for each tab panel can be defined in-page or can be
					loaded via Ajax; both are handled automatically based on the
					<code>href</code>
					of the anchor associated with the tab. By default tabs are
					activated on click, but the events can be changed to hover via the
					<a href="#option-event"><code>event</code></a> option.
				</p>

				<h3>Keyboard interaction</h3>

				<p>When focus is on a tab, the following key commands are
					available:</p>
				<ul>
					<li>UP/LEFT: Move focus to the previous tab. If on first tab,
						moves focus to last tab. Activate focused tab after a short delay.</li>
					<li>DOWN/RIGHT: Move focus to the next tab. If on last tab,
						moves focus to first tab. Activate focused tab after a short
						delay.</li>
					<li>HOME: Move focus to the first tab. Activate focused tab
						after a short delay.</li>
					<li>END: Move focus to the last tab. Activate focused tab
						after a short delay.</li>
					<li>SPACE: Activate panel associated with focused tab.</li>
					<li>ENTER: Activate or toggle panel associated with focused
						tab.</li>
					<li>ALT+PAGE UP: Move focus to the previous tab and
						immediately activate.</li>
					<li>ALT+PAGE DOWN: Move focus to the next tab and immediately
						activate.</li>
				</ul>

				<p>When focus is in a panel, the following key commands are
					available:</p>
				<ul>
					<li>CTRL+UP: Move focus to associated tab.</li>
					<li>ALT+PAGE UP: Move focus to the previous tab and
						immediately activate.</li>
					<li>ALT+PAGE DOWN: Move focus to the next tab and immediately
						activate.</li>
				</ul>

				<h3>Dependencies</h3>
				<ul>
					<li><a href="/category/ui-core/">UI Core</a></li>
					<li><a href="/jQuery.widget/">Widget Factory</a></li>
					<li><a href="/category/effects-core/">Effects Core</a>
						(optional; for use with the <a href="#option-show"><code>show</code></a>
						and <a href="#option-hide"><code>hide</code></a> options)</li>
				</ul>
			</div>
			<h3>Additional Notes:</h3>
			<div class="longdesc">
				<ul>
					<li>This widget requires some functional CSS, otherwise it
						won't work. If you build a custom theme, use the widget's specific
						CSS file as a starting point.</li>
				</ul>
			</div>
			<section id="options">
				<header>
					<h2 class="underline">Options</h2>
				</header>
				<div id="option-active" class="api-item first-item">
					<h3>
						active<span class="option-type"><strong>Type: </strong><a
							href="http://api.jquery.com/Types#Boolean">Boolean</a> or <a
							href="http://api.jquery.com/Types#Integer">Integer</a></span>
					</h3>
					<div class="default">
						<strong>Default: </strong>
						<code>0</code>
					</div>
					<div>Which panel is currently open.</div>
					<strong>Multiple types supported:</strong>
					<ul>
						<li><strong>Boolean</strong>: Setting <code>active</code> to
							<code>false</code> will collapse all panels. This requires the <a
							href="#option-collapsible"><code>collapsible</code></a> option to
							be <code>true</code>.</li>
						<li><strong>Integer</strong>: The zero-based index of the
							panel that is active (open). A negative value selects panels
							going backward from the last panel.</li>
					</ul>
					<strong>Code examples:</strong>
					<p>Initialize the tabs with the active option specified:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs({ active: <span
															class="number">1</span> });</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

					<p>Get or set the active option, after initialization:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

										<div class="line n2">2</div>

										<div class="line n3">3</div>

										<div class="line n4">4</div>

										<div class="line n5">5</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// getter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="keyword">var</span> active = $( <span
															class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"active"</span> );</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code> </code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// setter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"active"</span>, <span
															class="number">1</span> );</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

				</div>
				<div id="option-collapsible" class="api-item">
					<h3>
						collapsible<span class="option-type"><strong>Type:
						</strong><a href="http://api.jquery.com/Types#Boolean">Boolean</a></span>
					</h3>
					<div class="default">
						<strong>Default: </strong>
						<code>false</code>
					</div>
					<div>
						When set to
						<code>true</code>
						, the active panel can be closed.
					</div>
					<strong>Code examples:</strong>
					<p>Initialize the tabs with the collapsible option specified:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs({ collapsible: <span
															class="literal">true</span> });</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

					<p>Get or set the collapsible option, after initialization:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

										<div class="line n2">2</div>

										<div class="line n3">3</div>

										<div class="line n4">4</div>

										<div class="line n5">5</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// getter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="keyword">var</span> collapsible = $( <span
															class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"collapsible"</span> );</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code> </code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// setter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"collapsible"</span>, <span
															class="literal">true</span> );</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

				</div>
				<div id="option-disabled" class="api-item">
					<h3>
						disabled<span class="option-type"><strong>Type: </strong><a
							href="http://api.jquery.com/Types#Boolean">Boolean</a> or <a
							href="http://api.jquery.com/Types#Array">Array</a></span>
					</h3>
					<div class="default">
						<strong>Default: </strong>
						<code>false</code>
					</div>
					<div>Which tabs are disabled.</div>
					<strong>Multiple types supported:</strong>
					<ul>
						<li><strong>Boolean</strong>: Enable or disable all tabs.</li>
						<li><strong>Array</strong>: An array containing the
							zero-based indexes of the tabs that should be disabled, e.g., <code>[
								0, 2 ]</code> would disable the first and third tab.</li>
					</ul>
					<strong>Code examples:</strong>
					<p>Initialize the tabs with the disabled option specified:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs({ disabled: [ <span
															class="number">0</span>, <span class="number">2</span> ] });</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

					<p>Get or set the disabled option, after initialization:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

										<div class="line n2">2</div>

										<div class="line n3">3</div>

										<div class="line n4">4</div>

										<div class="line n5">5</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// getter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="keyword">var</span> disabled = $( <span
															class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"disabled"</span> );</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code> </code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// setter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"disabled"</span>, [ <span
															class="number">0</span>, <span class="number">2</span> ] );</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

				</div>
				<div id="option-event" class="api-item">
					<h3>
						event<span class="option-type"><strong>Type: </strong><a
							href="http://api.jquery.com/Types#String">String</a></span>
					</h3>
					<div class="default">
						<strong>Default: </strong>
						<code>"click"</code>
					</div>
					<div>
						The type of event that the tabs should react to in order to
						activate the tab. To activate on hover, use
						<code>"mouseover"</code>
						.
					</div>
					<strong>Code examples:</strong>
					<p>Initialize the tabs with the event option specified:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs({ event: <span
															class="string">"mouseover"</span> });</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

					<p>Get or set the event option, after initialization:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

										<div class="line n2">2</div>

										<div class="line n3">3</div>

										<div class="line n4">4</div>

										<div class="line n5">5</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// getter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="keyword">var</span> event = $( <span
															class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"event"</span> );</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code> </code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// setter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"event"</span>, <span
															class="string">"mouseover"</span> );</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

				</div>
				<div id="option-heightStyle" class="api-item">
					<h3>
						heightStyle<span class="option-type"><strong>Type:
						</strong><a href="http://api.jquery.com/Types#String">String</a></span>
					</h3>
					<div class="default">
						<strong>Default: </strong>
						<code>"content"</code>
					</div>
					<div>
						Controls the height of the tabs widget and each panel. Possible
						values:
						<ul>
							<li><code>"auto"</code>: All panels will be set to the
								height of the tallest panel.</li>
							<li><code>"fill"</code>: Expand to the available height
								based on the tabs' parent height.</li>
							<li><code>"content"</code>: Each panel will be only as tall
								as its content.</li>
						</ul>
					</div>
					<strong>Code examples:</strong>
					<p>Initialize the tabs with the heightStyle option specified:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs({ heightStyle: <span
															class="string">"fill"</span> });</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

					<p>Get or set the heightStyle option, after initialization:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

										<div class="line n2">2</div>

										<div class="line n3">3</div>

										<div class="line n4">4</div>

										<div class="line n5">5</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// getter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="keyword">var</span> heightStyle = $( <span
															class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"heightStyle"</span> );</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code> </code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// setter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"heightStyle"</span>, <span
															class="string">"fill"</span> );</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

				</div>
				<div id="option-hide" class="api-item">
					<h3>
						hide<span class="option-type"><strong>Type: </strong><a
							href="http://api.jquery.com/Types#Boolean">Boolean</a> or <a
							href="http://api.jquery.com/Types#Number">Number</a> or <a
							href="http://api.jquery.com/Types#String">String</a> or <a
							href="http://api.jquery.com/Types#Object">Object</a></span>
					</h3>
					<div class="default">
						<strong>Default: </strong>
						<code>null</code>
					</div>
					<div>If and how to animate the hiding of the panel.</div>
					<strong>Multiple types supported:</strong>
					<ul>
						<li><strong>Boolean</strong>: When set to <code>false</code>,
							no animation will be used and the panel will be hidden
							immediately. When set to <code>true</code>, the panel will fade
							out with the default duration and the default easing.</li>
						<li><strong>Number</strong>: The panel will fade out with the
							specified duration and the default easing.</li>
						<li><strong>String</strong>: The panel will be hidden using
							the specified effect. The value can either be the name of a
							built-in jQuery animateion method, such as <code>"slideUp"</code>,
							or the name of a jQuery UI effect, such as <code>"fold"</code>.
							In either case the effect will be used with the default duration
							and the default easing.</li>
						<li><strong>Object</strong>: If the value is an object, then
							<code>effect</code>, <code>duration</code>, and <code>easing</code>
							properties may be provided. If the <code>effect</code> property
							contains the name of a jQuery method, then that method will be
							used; otherwise it is assumed to be the name of a jQuery UI
							effect. When using a jQuery UI effect that supports additional
							settings, you may include those settings in the object and they
							will be passed to the effect. If <code>duration</code> or <code>easing</code>
							is omitted, then the default values will be used. If <code>effect</code>
							is omitted, then <code>"fadeOut"</code> will be used.</li>
					</ul>
					<strong>Code examples:</strong>
					<p>Initialize the tabs with the hide option specified:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs({ hide: { effect: <span
															class="string">"explode"</span>, duration: <span
															class="number">1000</span> } });</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

					<p>Get or set the hide option, after initialization:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

										<div class="line n2">2</div>

										<div class="line n3">3</div>

										<div class="line n4">4</div>

										<div class="line n5">5</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// getter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="keyword">var</span> hide = $( <span
															class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"hide"</span> );</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code> </code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// setter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"hide"</span>, { effect: <span
															class="string">"explode"</span>, duration: <span
															class="number">1000</span> } );</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

				</div>
				<div id="option-show" class="api-item">
					<h3>
						show<span class="option-type"><strong>Type: </strong><a
							href="http://api.jquery.com/Types#Boolean">Boolean</a> or <a
							href="http://api.jquery.com/Types#Number">Number</a> or <a
							href="http://api.jquery.com/Types#String">String</a> or <a
							href="http://api.jquery.com/Types#Object">Object</a></span>
					</h3>
					<div class="default">
						<strong>Default: </strong>
						<code>null</code>
					</div>
					<div>If and how to animate the showing of the panel.</div>
					<strong>Multiple types supported:</strong>
					<ul>
						<li><strong>Boolean</strong>: When set to <code>false</code>,
							no animation will be used and the panel will be shown
							immediately. When set to <code>true</code>, the panel will fade
							in with the default duration and the default easing.</li>
						<li><strong>Number</strong>: The panel will fade in with the
							specified duration and the default easing.</li>
						<li><strong>String</strong>: The panel will be shown using
							the specified effect. The value can either be the name of a
							built-in jQuery animateion method, such as <code>"slideDown"</code>,
							or the name of a jQuery UI effect, such as <code>"fold"</code>.
							In either case the effect will be used with the default duration
							and the default easing.</li>
						<li><strong>Object</strong>: If the value is an object, then
							<code>effect</code>, <code>duration</code>, and <code>easing</code>
							properties may be provided. If the <code>effect</code> property
							contains the name of a jQuery method, then that method will be
							used; otherwise it is assumed to be the name of a jQuery UI
							effect. When using a jQuery UI effect that supports additional
							settings, you may include those settings in the object and they
							will be passed to the effect. If <code>duration</code> or <code>easing</code>
							is omitted, then the default values will be used. If <code>effect</code>
							is omitted, then <code>"fadeIn"</code> will be used.</li>
					</ul>
					<strong>Code examples:</strong>
					<p>Initialize the tabs with the show option specified:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs({ show: { effect: <span
															class="string">"blind"</span>, duration: <span
															class="number">800</span> } });</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

					<p>Get or set the show option, after initialization:</p>
					<div class="syntaxhighlighter javascript nogutter">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

										<div class="line n2">2</div>

										<div class="line n3">3</div>

										<div class="line n4">4</div>

										<div class="line n5">5</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// getter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="keyword">var</span> show = $( <span
															class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"show"</span> );</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code> </code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="comment">// setter</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">".selector"</span> ).tabs( <span
															class="string">"option"</span>, <span class="string">"show"</span>, { effect: <span
															class="string">"blind"</span>, duration: <span
															class="number">800</span> } );</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

				</div>
			</section>
			<section id="methods">
				<header>
					<h2 class="underline">Methods</h2>
				</header>
				<div id="method-destroy">
					<div class="api-item first-item">
						<h3>destroy()</h3>
						<div>Removes the tabs functionality completely. This will
							return the element back to its pre-init state.</div>
						<ul>
							<li><div class="null-signature">This method does not
									accept any arguments.</div></li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the destroy method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>$( <span class="string">".selector"</span> ).tabs( <span
																	class="string">"destroy"</span> );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
				</div>
				<div id="method-disable">
					<div class="api-item">
						<h3>disable()</h3>
						<div>Disables all tabs.</div>
						<ul>
							<li><div class="null-signature">This method does not
									accept any arguments.</div></li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>$( <span class="string">".selector"</span> ).tabs( <span
																	class="string">"disable"</span> );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
					<div class="api-item">
						<h3>disable( index )</h3>
						<div>
							Disables a tab. The selected tab cannot be disabled. To disable
							more than one tab at once, set the <a href="#option-disabled"><code>disabled</code></a>
							option:
							<code>$( "#tabs" ).tabs( "option", "disabled", [ 1, 2, 3 ]
								)</code>
							.
						</div>
						<ul>
							<li>
								<div>
									<strong>index</strong>
								</div>
								<div>
									Type: <a href="http://api.jquery.com/Types#Number">Number</a>
									or <a href="http://api.jquery.com/Types#String">String</a>
								</div>
								<div>Which tab to disable.</div>
							</li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>$( <span class="string">".selector"</span> ).tabs( <span
																	class="string">"disable"</span>, <span class="number">1</span> );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
				</div>
				<div id="method-enable">
					<div class="api-item">
						<h3>enable()</h3>
						<div>Enables all tabs.</div>
						<ul>
							<li><div class="null-signature">This method does not
									accept any arguments.</div></li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>$( <span class="string">".selector"</span> ).tabs( <span
																	class="string">"enable"</span> );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
					<div class="api-item">
						<h3>enable( index )</h3>
						<div>
							Enables a tab. To enable more than one tab at once reset the
							disabled property like:
							<code>$( "#example" ).tabs( "option", "disabled", [] );</code>
							.
						</div>
						<ul>
							<li>
								<div>
									<strong>index</strong>
								</div>
								<div>
									Type: <a href="http://api.jquery.com/Types#Number">Number</a>
									or <a href="http://api.jquery.com/Types#String">String</a>
								</div>
								<div>Which tab to enable.</div>
							</li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>$( <span class="string">".selector"</span> ).tabs( <span
																	class="string">"enable"</span>, <span class="number">1</span> );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
				</div>
				<div id="method-load">
					<div class="api-item">
						<h3>load( index )</h3>
						<div>Loads the panel content of a remote tab.</div>
						<ul>
							<li>
								<div>
									<strong>index</strong>
								</div>
								<div>
									Type: <a href="http://api.jquery.com/Types#Number">Number</a>
									or <a href="http://api.jquery.com/Types#String">String</a>
								</div>
								<div>Which tab to load.</div>
							</li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the load method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>$( <span class="string">".selector"</span> ).tabs( <span
																	class="string">"load"</span>, <span class="number">1</span> );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
				</div>
				<div id="method-option">
					<div class="api-item">
						<h3>
							option( optionName )<span class="returns">Returns: <a
								href="http://api.jquery.com/Types#Object">Object</a></span>
						</h3>
						<div>
							Gets the value currently associated with the specified
							<code>optionName</code>
							.
						</div>
						<ul>
							<li>
								<div>
									<strong>optionName</strong>
								</div>
								<div>
									Type: <a href="http://api.jquery.com/Types#String">String</a>
								</div>
								<div>The name of the option to get.</div>
							</li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>
																<span class="keyword">var</span> isDisabled = $( <span
																	class="string">".selector"</span> ).tabs( <span
																	class="string">"option"</span>, <span class="string">"disabled"</span> );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
					<div class="api-item">
						<h3>
							option()<span class="returns">Returns: <a
								href="http://api.jquery.com/Types#PlainObject">PlainObject</a></span>
						</h3>
						<div>Gets an object containing key/value pairs representing
							the current tabs options hash.</div>
						<ul>
							<li><div class="null-signature">This method does not
									accept any arguments.</div></li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>
																<span class="keyword">var</span> options = $( <span
																	class="string">".selector"</span> ).tabs( <span
																	class="string">"option"</span> );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
					<div class="api-item">
						<h3>option( optionName, value )</h3>
						<div>
							Sets the value of the tabs option associated with the specified
							<code>optionName</code>
							.
						</div>
						<ul>
							<li>
								<div>
									<strong>optionName</strong>
								</div>
								<div>
									Type: <a href="http://api.jquery.com/Types#String">String</a>
								</div>
								<div>The name of the option to set.</div>
							</li>
							<li>
								<div>
									<strong>value</strong>
								</div>
								<div>
									Type: <a href="http://api.jquery.com/Types#Object">Object</a>
								</div>
								<div>A value to set for the option.</div>
							</li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>$( <span class="string">".selector"</span> ).tabs( <span
																	class="string">"option"</span>, <span class="string">"disabled"</span>, <span
																	class="literal">true</span> );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
					<div class="api-item">
						<h3>option( options )</h3>
						<div>Sets one or more options for the tabs.</div>
						<ul>
							<li>
								<div>
									<strong>options</strong>
								</div>
								<div>
									Type: <a href="http://api.jquery.com/Types#Object">Object</a>
								</div>
								<div>A map of option-value pairs to set.</div>
							</li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>$( <span class="string">".selector"</span> ).tabs( <span
																	class="string">"option"</span>, { disabled: <span
																	class="literal">true</span> } );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
				</div>
				<div id="method-refresh">
					<div class="api-item">
						<h3>refresh()</h3>
						<div>
							Process any tabs that were added or removed directly in the DOM
							and recompute the height of the tab panels. Results depend on the
							content and the <a href="#option-heightStyle"><code>heightStyle</code></a>
							option.
						</div>
						<ul>
							<li><div class="null-signature">This method does not
									accept any arguments.</div></li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the refresh method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>$( <span class="string">".selector"</span> ).tabs( <span
																	class="string">"refresh"</span> );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
				</div>
				<div id="method-widget">
					<div class="api-item">
						<h3>
							widget()<span class="returns">Returns: <a
								href="http://api.jquery.com/Types#jQuery">jQuery</a></span>
						</h3>
						<div>
							Returns a
							<code>jQuery</code>
							object containing the tabs container.
						</div>
						<ul>
							<li><div class="null-signature">This method does not
									accept any arguments.</div></li>
						</ul>
						<div>
							<strong>Code examples:</strong>
							<p>Invoke the widget method:</p>
							<div class="syntaxhighlighter javascript nogutter">
								<table>
									<tbody>
										<tr>
											<td class="gutter">

												<div class="line n1">1</div>

											</td>
											<td class="code"><pre>
													<div class="container">
														<div class="line">
															<code>
																<span class="keyword">var</span> widget = $( <span
																	class="string">".selector"</span> ).tabs( <span
																	class="string">"widget"</span> );</code>
														</div>
													</div>
												</pre></td>
										</tr>
									</tbody>
								</table>
							</div>

						</div>
					</div>
				</div>
			</section>
			<section id="events">
				<header>
					<h2 class="underline">Events</h2>
				</header>
				<div id="event-activate" class="api-item first-item">
					<h3>
						activate( event, ui )<span class="returns">Type: <code>tabsactivate</code></span>
					</h3>
					<div>
						Triggered after a tab has been activated (after animation
						completes). If the tabs were previously collapsed,
						<code>ui.oldTab</code>
						and
						<code>ui.oldPanel</code>
						will be empty jQuery objects. If the tabs are collapsing,
						<code>ui.newTab</code>
						and
						<code>ui.newPanel</code>
						will be empty jQuery objects.
					</div>
					<ul>
						<li>
							<div>
								<strong>event</strong>
							</div>
							<div>
								Type: <a href="http://api.jquery.com/Types#Event">Event</a>
							</div>
							<div></div>
						</li>
						<li>
							<div>
								<strong>ui</strong>
							</div>
							<div>
								Type: <a href="http://api.jquery.com/Types#Object">Object</a>
							</div>
							<div></div>
							<ul>
								<li>
									<div>
										<strong>newTab</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The tab that was just activated.</div>
								</li>
								<li>
									<div>
										<strong>oldTab</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The tab that was just deactivated.</div>
								</li>
								<li>
									<div>
										<strong>newPanel</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The panel that was just activated.</div>
								</li>
								<li>
									<div>
										<strong>oldPanel</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The panel that was just deactivated.</div>
								</li>
							</ul>
						</li>
					</ul>
					<div>
						<strong>Code examples:</strong>
						<p>Initialize the tabs with the activate callback specified:</p>
						<div class="syntaxhighlighter javascript nogutter">
							<table>
								<tbody>
									<tr>
										<td class="gutter">

											<div class="line n1">1</div>

											<div class="line n2">2</div>

											<div class="line n3">3</div>

										</td>
										<td class="code"><pre>
												<div class="container">
													<div class="line">
														<code>$( <span class="string">".selector"</span> ).tabs({</code>
													</div>
												</div>
												<div class="container">
													<div class="line">
														<code>  activate: <span class="keyword">function</span>( event, ui ) {}</code>
													</div>
												</div>
												<div class="container">
													<div class="line">
														<code>});</code>
													</div>
												</div>
											</pre></td>
									</tr>
								</tbody>
							</table>
						</div>

						<p>Bind an event listener to the tabsactivate event:</p>
						<div class="syntaxhighlighter javascript nogutter">
							<table>
								<tbody>
									<tr>
										<td class="gutter">

											<div class="line n1">1</div>

										</td>
										<td class="code"><pre>
												<div class="container">
													<div class="line">
														<code>$( <span class="string">".selector"</span> ).on( <span
																class="string">"tabsactivate"</span>, <span
																class="keyword">function</span>( event, ui ) {} );</code>
													</div>
												</div>
											</pre></td>
									</tr>
								</tbody>
							</table>
						</div>

					</div>
				</div>
				<div id="event-beforeActivate" class="api-item">
					<h3>
						beforeActivate( event, ui )<span class="returns">Type: <code>tabsbeforeactivate</code></span>
					</h3>
					<div>
						Triggered directly after a tab is activated. Can be canceled to
						prevent the tab from activating. If the tabs are currently
						collapsed,
						<code>ui.oldTab</code>
						and
						<code>ui.oldPanel</code>
						will be empty jQuery objects. If the tabs are collapsing,
						<code>ui.newTab</code>
						and
						<code>ui.newPanel</code>
						will be empty jQuery objects.
					</div>
					<ul>
						<li>
							<div>
								<strong>event</strong>
							</div>
							<div>
								Type: <a href="http://api.jquery.com/Types#Event">Event</a>
							</div>
							<div></div>
						</li>
						<li>
							<div>
								<strong>ui</strong>
							</div>
							<div>
								Type: <a href="http://api.jquery.com/Types#Object">Object</a>
							</div>
							<div></div>
							<ul>
								<li>
									<div>
										<strong>newTab</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The tab that is about to be activated.</div>
								</li>
								<li>
									<div>
										<strong>oldTab</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The tab that is about to be deactivated.</div>
								</li>
								<li>
									<div>
										<strong>newPanel</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The panel that is about to be activated.</div>
								</li>
								<li>
									<div>
										<strong>oldPanel</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The panel that is about to be deactivated.</div>
								</li>
							</ul>
						</li>
					</ul>
					<div>
						<strong>Code examples:</strong>
						<p>Initialize the tabs with the beforeActivate callback
							specified:</p>
						<div class="syntaxhighlighter javascript nogutter">
							<table>
								<tbody>
									<tr>
										<td class="gutter">

											<div class="line n1">1</div>

											<div class="line n2">2</div>

											<div class="line n3">3</div>

										</td>
										<td class="code"><pre>
												<div class="container">
													<div class="line">
														<code>$( <span class="string">".selector"</span> ).tabs({</code>
													</div>
												</div>
												<div class="container">
													<div class="line">
														<code>  beforeActivate: <span class="keyword">function</span>( event, ui ) {}</code>
													</div>
												</div>
												<div class="container">
													<div class="line">
														<code>});</code>
													</div>
												</div>
											</pre></td>
									</tr>
								</tbody>
							</table>
						</div>

						<p>Bind an event listener to the tabsbeforeactivate event:</p>
						<div class="syntaxhighlighter javascript nogutter">
							<table>
								<tbody>
									<tr>
										<td class="gutter">

											<div class="line n1">1</div>

										</td>
										<td class="code"><pre>
												<div class="container">
													<div class="line">
														<code>$( <span class="string">".selector"</span> ).on( <span
																class="string">"tabsbeforeactivate"</span>, <span
																class="keyword">function</span>( event, ui ) {} );</code>
													</div>
												</div>
											</pre></td>
									</tr>
								</tbody>
							</table>
						</div>

					</div>
				</div>
				<div id="event-beforeLoad" class="api-item">
					<h3>
						beforeLoad( event, ui )<span class="returns">Type: <code>tabsbeforeload</code></span>
					</h3>
					<div>
						Triggered when a remote tab is about to be loaded, after the <a
							href="#event-beforeActivate"><code>beforeActivate</code></a>
						event. Can be canceled to prevent the tab panel from loading
						content; though the panel will still be activated. This event is
						triggered just before the Ajax request is made, so modifications
						can be made to
						<code>ui.jqXHR</code>
						and
						<code>ui.ajaxSettings</code>
						.
					</div>
					<ul>
						<li>
							<div>
								<strong>event</strong>
							</div>
							<div>
								Type: <a href="http://api.jquery.com/Types#Event">Event</a>
							</div>
							<div></div>
						</li>
						<li>
							<div>
								<strong>ui</strong>
							</div>
							<div>
								Type: <a href="http://api.jquery.com/Types#Object">Object</a>
							</div>
							<div></div>
							<ul>
								<li>
									<div>
										<strong>tab</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The tab that is being loaded.</div>
								</li>
								<li>
									<div>
										<strong>panel</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The panel which will be populated by the Ajax
										response.</div>
								</li>
								<li>
									<div>
										<strong>jqXHR</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jqXHR">jqXHR</a>
									</div>
									<div>
										The
										<code>jqXHR</code>
										object that is requesting the content.
									</div>
								</li>
								<li>
									<div>
										<strong>ajaxSettings</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#Object">Object</a>
									</div>
									<div>
										The settings that will be used by <a
											href="//api.jquery.com/jQuery.ajax"><code>jQuery.ajax</code></a>
										to request the content.
									</div>
								</li>
							</ul>
						</li>
					</ul>
					<div>
						<strong>Code examples:</strong>
						<p>Initialize the tabs with the beforeLoad callback specified:</p>
						<div class="syntaxhighlighter javascript nogutter">
							<table>
								<tbody>
									<tr>
										<td class="gutter">

											<div class="line n1">1</div>

											<div class="line n2">2</div>

											<div class="line n3">3</div>

										</td>
										<td class="code"><pre>
												<div class="container">
													<div class="line">
														<code>$( <span class="string">".selector"</span> ).tabs({</code>
													</div>
												</div>
												<div class="container">
													<div class="line">
														<code>  beforeLoad: <span class="keyword">function</span>( event, ui ) {}</code>
													</div>
												</div>
												<div class="container">
													<div class="line">
														<code>});</code>
													</div>
												</div>
											</pre></td>
									</tr>
								</tbody>
							</table>
						</div>

						<p>Bind an event listener to the tabsbeforeload event:</p>
						<div class="syntaxhighlighter javascript nogutter">
							<table>
								<tbody>
									<tr>
										<td class="gutter">

											<div class="line n1">1</div>

										</td>
										<td class="code"><pre>
												<div class="container">
													<div class="line">
														<code>$( <span class="string">".selector"</span> ).on( <span
																class="string">"tabsbeforeload"</span>, <span
																class="keyword">function</span>( event, ui ) {} );</code>
													</div>
												</div>
											</pre></td>
									</tr>
								</tbody>
							</table>
						</div>

					</div>
				</div>
				<div id="event-create" class="api-item">
					<h3>
						create( event, ui )<span class="returns">Type: <code>tabscreate</code></span>
					</h3>
					<div>
						Triggered when the tabs are created. If the tabs are collapsed,
						<code>ui.tab</code>
						and
						<code>ui.panel</code>
						will be empty jQuery objects.
					</div>
					<ul>
						<li>
							<div>
								<strong>event</strong>
							</div>
							<div>
								Type: <a href="http://api.jquery.com/Types#Event">Event</a>
							</div>
							<div></div>
						</li>
						<li>
							<div>
								<strong>ui</strong>
							</div>
							<div>
								Type: <a href="http://api.jquery.com/Types#Object">Object</a>
							</div>
							<div></div>
							<ul>
								<li>
									<div>
										<strong>tab</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The active tab.</div>
								</li>
								<li>
									<div>
										<strong>panel</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The active panel.</div>
								</li>
							</ul>
						</li>
					</ul>
					<div>
						<strong>Code examples:</strong>
						<p>Initialize the tabs with the create callback specified:</p>
						<div class="syntaxhighlighter javascript nogutter">
							<table>
								<tbody>
									<tr>
										<td class="gutter">

											<div class="line n1">1</div>

											<div class="line n2">2</div>

											<div class="line n3">3</div>

										</td>
										<td class="code"><pre>
												<div class="container">
													<div class="line">
														<code>$( <span class="string">".selector"</span> ).tabs({</code>
													</div>
												</div>
												<div class="container">
													<div class="line">
														<code>  create: <span class="keyword">function</span>( event, ui ) {}</code>
													</div>
												</div>
												<div class="container">
													<div class="line">
														<code>});</code>
													</div>
												</div>
											</pre></td>
									</tr>
								</tbody>
							</table>
						</div>

						<p>Bind an event listener to the tabscreate event:</p>
						<div class="syntaxhighlighter javascript nogutter">
							<table>
								<tbody>
									<tr>
										<td class="gutter">

											<div class="line n1">1</div>

										</td>
										<td class="code"><pre>
												<div class="container">
													<div class="line">
														<code>$( <span class="string">".selector"</span> ).on( <span
																class="string">"tabscreate"</span>, <span
																class="keyword">function</span>( event, ui ) {} );</code>
													</div>
												</div>
											</pre></td>
									</tr>
								</tbody>
							</table>
						</div>

					</div>
				</div>
				<div id="event-load" class="api-item">
					<h3>
						load( event, ui )<span class="returns">Type: <code>tabsload</code></span>
					</h3>
					<div>Triggered after a remote tab has been loaded.</div>
					<ul>
						<li>
							<div>
								<strong>event</strong>
							</div>
							<div>
								Type: <a href="http://api.jquery.com/Types#Event">Event</a>
							</div>
							<div></div>
						</li>
						<li>
							<div>
								<strong>ui</strong>
							</div>
							<div>
								Type: <a href="http://api.jquery.com/Types#Object">Object</a>
							</div>
							<div></div>
							<ul>
								<li>
									<div>
										<strong>tab</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The tab that was just loaded.</div>
								</li>
								<li>
									<div>
										<strong>panel</strong>
									</div>
									<div>
										Type: <a href="http://api.jquery.com/Types#jQuery">jQuery</a>
									</div>
									<div>The panel which was just populated by the Ajax
										response.</div>
								</li>
							</ul>
						</li>
					</ul>
					<div>
						<strong>Code examples:</strong>
						<p>Initialize the tabs with the load callback specified:</p>
						<div class="syntaxhighlighter javascript nogutter">
							<table>
								<tbody>
									<tr>
										<td class="gutter">

											<div class="line n1">1</div>

											<div class="line n2">2</div>

											<div class="line n3">3</div>

										</td>
										<td class="code"><pre>
												<div class="container">
													<div class="line">
														<code>$( <span class="string">".selector"</span> ).tabs({</code>
													</div>
												</div>
												<div class="container">
													<div class="line">
														<code>  load: <span class="keyword">function</span>( event, ui ) {}</code>
													</div>
												</div>
												<div class="container">
													<div class="line">
														<code>});</code>
													</div>
												</div>
											</pre></td>
									</tr>
								</tbody>
							</table>
						</div>

						<p>Bind an event listener to the tabsload event:</p>
						<div class="syntaxhighlighter javascript nogutter">
							<table>
								<tbody>
									<tr>
										<td class="gutter">

											<div class="line n1">1</div>

										</td>
										<td class="code"><pre>
												<div class="container">
													<div class="line">
														<code>$( <span class="string">".selector"</span> ).on( <span
																class="string">"tabsload"</span>, <span class="keyword">function</span>( event, ui ) {} );</code>
													</div>
												</div>
											</pre></td>
									</tr>
								</tbody>
							</table>
						</div>

					</div>
				</div>
			</section>
			<section class="entry-examples" id="entry-examples">
				<header>
					<h2 class="underline">Example:</h2>
				</header>
				<div class="entry-example" id="example-0">
					<h4>
						<span class="desc">A simple jQuery UI Tabs</span>
					</h4>
					<div class="syntaxhighlighter xml ">
						<table>
							<tbody>
								<tr>
									<td class="gutter">

										<div class="line n1">1</div>

										<div class="line n2">2</div>

										<div class="line n3">3</div>

										<div class="line n4">4</div>

										<div class="line n5">5</div>

										<div class="line n6">6</div>

										<div class="line n7">7</div>

										<div class="line n8">8</div>

										<div class="line n9">9</div>

										<div class="line n10">10</div>

										<div class="line n11">11</div>

										<div class="line n12">12</div>

										<div class="line n13">13</div>

										<div class="line n14">14</div>

										<div class="line n15">15</div>

										<div class="line n16">16</div>

										<div class="line n17">17</div>

										<div class="line n18">18</div>

										<div class="line n19">19</div>

										<div class="line n20">20</div>

										<div class="line n21">21</div>

										<div class="line n22">22</div>

										<div class="line n23">23</div>

										<div class="line n24">24</div>

										<div class="line n25">25</div>

										<div class="line n26">26</div>

										<div class="line n27">27</div>

										<div class="line n28">28</div>

										<div class="line n29">29</div>

										<div class="line n30">30</div>

										<div class="line n31">31</div>

										<div class="line n32">32</div>

										<div class="line n33">33</div>

										<div class="line n34">34</div>

										<div class="line n35">35</div>

										<div class="line n36">36</div>

										<div class="line n37">37</div>

										<div class="line n38">38</div>

									</td>
									<td class="code"><pre>
											<div class="container">
												<div class="line">
													<code>
														<span class="doctype">&lt;!doctype html&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="tag">&lt;<span class="title">html</span> <span
															class="attribute">lang</span>=<span class="value">"en"</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="tag">&lt;<span class="title">head</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;<span
															class="title">meta</span> <span class="attribute">charset</span>=<span
															class="value">"utf-8"</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;<span
															class="title">title</span>&gt;</span>tabs demo<span class="tag">&lt;/<span
															class="title">title</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;<span
															class="title">link</span> <span class="attribute">rel</span>=<span
															class="value">"stylesheet"</span> <span class="attribute">href</span>=<span
															class="value">"http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css"</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;<span
															class="title">script</span> <span class="attribute">src</span>=<span
															class="value">"http://code.jquery.com/jquery-1.8.3.js"</span>&gt;</span><span
															class="javascript"></span><span class="tag">&lt;/<span
															class="title">script</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;<span
															class="title">script</span> <span class="attribute">src</span>=<span
															class="value">"http://code.jquery.com/ui/1.9.2/jquery-ui.js"</span>&gt;</span><span
															class="javascript"></span><span class="tag">&lt;/<span
															class="title">script</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="tag">&lt;/<span class="title">head</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="tag">&lt;<span class="title">body</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code> </code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="tag">&lt;<span class="title">div</span> <span
															class="attribute">id</span>=<span class="value">"tabs"</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;<span
															class="title">ul</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>    <span class="tag">&lt;<span
															class="title">li</span>&gt;</span><span class="tag">&lt;<span
															class="title">a</span> <span class="attribute">href</span>=<span
															class="value">"#fragment-1"</span>&gt;</span><span class="tag">&lt;<span
															class="title">span</span>&gt;</span>One<span class="tag">&lt;/<span
															class="title">span</span>&gt;</span><span class="tag">&lt;/<span
															class="title">a</span>&gt;</span><span class="tag">&lt;/<span
															class="title">li</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>    <span class="tag">&lt;<span
															class="title">li</span>&gt;</span><span class="tag">&lt;<span
															class="title">a</span> <span class="attribute">href</span>=<span
															class="value">"#fragment-2"</span>&gt;</span><span class="tag">&lt;<span
															class="title">span</span>&gt;</span>Two<span class="tag">&lt;/<span
															class="title">span</span>&gt;</span><span class="tag">&lt;/<span
															class="title">a</span>&gt;</span><span class="tag">&lt;/<span
															class="title">li</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>    <span class="tag">&lt;<span
															class="title">li</span>&gt;</span><span class="tag">&lt;<span
															class="title">a</span> <span class="attribute">href</span>=<span
															class="value">"#fragment-3"</span>&gt;</span><span class="tag">&lt;<span
															class="title">span</span>&gt;</span>Three<span class="tag">&lt;/<span
															class="title">span</span>&gt;</span><span class="tag">&lt;/<span
															class="title">a</span>&gt;</span><span class="tag">&lt;/<span
															class="title">li</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;/<span
															class="title">ul</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;<span
															class="title">div</span> <span class="attribute">id</span>=<span
															class="value">"fragment-1"</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>    <span class="tag">&lt;<span
															class="title">p</span>&gt;</span>First tab is active by default:<span
															class="tag">&lt;/<span class="title">p</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>    <span class="tag">&lt;<span
															class="title">pre</span>&gt;</span><span class="tag">&lt;<span
															class="title">code</span>&gt;</span>$( "#tabs" ).tabs(); <span
															class="tag">&lt;/<span class="title">code</span>&gt;</span><span
															class="tag">&lt;/<span class="title">pre</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;/<span
															class="title">div</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;<span
															class="title">div</span> <span class="attribute">id</span>=<span
															class="value">"fragment-2"</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;/<span
															class="title">div</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;<span
															class="title">div</span> <span class="attribute">id</span>=<span
															class="value">"fragment-3"</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>    Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>  <span class="tag">&lt;/<span
															class="title">div</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="tag">&lt;/<span class="title">div</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code> </code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="tag">&lt;<span class="title">script</span>&gt;</span><span
															class="javascript"></span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>$( <span class="string">"#tabs"</span> ).tabs();</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="tag">&lt;/<span class="title">script</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code> </code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="tag">&lt;/<span class="title">body</span>&gt;</span>
													</code>
												</div>
											</div>
											<div class="container">
												<div class="line">
													<code>
														<span class="tag">&lt;/<span class="title">html</span>&gt;</span>
													</code>
												</div>
											</div>
										</pre></td>
								</tr>
							</tbody>
						</table>
					</div>

					<h4>Demo:</h4>
					<div class="demo code-demo"></div>
				</div>
			</section>
		</div>
	</article>

</body>
</html>
